package com.lagou.mapper;

import com.lagou.pojo.User;

import java.util.List;
import java.util.Map;

/**
 * @ClassName: IUserDao
 * @Auther: Jerry
 * @Date: 2020/6/20 16:28
 * @Desctiption: TODO
 * @Version: 1.0
 */
public interface UserMapper {

    List<User> findAll();
    User findUserByCondition(User user);
    int deleteById(Long id);
    int saveUser(User user);
    int updateUser(User user);
    int findUserCount();
    int findUserCountByUser(User user);
    Map<String, Object> findUserMap(Map<String, Object> param);
    List<Map<String, Object>> findUserList();
}
